package cn.cuiliangpeng.system.service.impl;

import cn.cuiliangpeng.basic.service.impl.BaseServiceImpl;
import cn.cuiliangpeng.system.domain.Systemdictionarytype;
import cn.cuiliangpeng.system.mapper.SystemdictionarydetailMapper;
import cn.cuiliangpeng.system.service.ISystemdictionarytypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SystemdictionarytypeServiceImpl extends BaseServiceImpl<Systemdictionarytype> implements ISystemdictionarytypeService {

    @Autowired
    private SystemdictionarydetailMapper systemdictionarydetailMapper;
    @Override
    public void delete(Long id) {
        systemdictionarydetailMapper.deleteByTypeId(id);
        super.delete(id);
    }
}
